package com.yangxk.foo.handle;

import com.yanxk.library.clink.core.Connector;

/**
 * 关闭连接链式结构
 * @author yangxk
 * @date 2019/4/11 20:43
 */
public class DefaultPrintConnectorCloseChain extends ConnectorCloseChain {
    @Override
    protected boolean consume(ConnectorHandler handler, Connector connector) {
        System.out.println(handler.getClientInfo() + ":Exit!!, key:" + handler.getKey());
        return false;
    }
}
